package com.xdj.chashuiwu.activity.service.impl;

import com.xdj.chashuiwu.activity.dao.APeopleDao;
import com.xdj.chashuiwu.activity.entity.APeopleEntity;
import com.xdj.chashuiwu.activity.service.APeopleService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xdj.common.utils.PageUtils;
import com.xdj.common.utils.Query;


@Service("aPeopleService")
public class APeopleServiceImpl extends ServiceImpl<APeopleDao, APeopleEntity> implements APeopleService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<APeopleEntity> page = this.page(
                new Query<APeopleEntity>().getPage(params),
                new QueryWrapper<APeopleEntity>()
        );

        return new PageUtils(page);
    }

}